package com.all.learning.guava.other;

import java.util.List;

import com.google.common.collect.Lists;

public class GGbase {
	
	public static void main(String[] args) {
		test1();
		

	}
	
	/**
	 * 异常处理  if(count<=0)throw new IllegalArgumentException("must be positive: " + count); 
	 */
	private static void test1() {
		List<Long> app = Lists.newArrayList();
		if(app.size()==0)app.add(Long.parseLong("-1"));
		System.out.println(app.size());
		System.out.println(app);
	}

}
